<?php include_once 'template/usercheck.php';?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Amazing聯播網 管理您的應用程式</title>
<script type="text/javascript" src="/ad/html/js/publishUtil.js"></script>
<script type="text/javascript" src="/ad/html/publish/js/charts.js"></script>
<script type="text/javascript" src="/ad/html/publish/js/publishReport.js"></script>
<!-- Framework CSS -->
<link rel="stylesheet" href="../css/blueprint/screen.css" type="text/css" media="screen, projection" />
<link rel="stylesheet" href="../css/blueprint/print.css" type="text/css" media="print" />
<!--[if lt IE 8]><link rel="stylesheet" href="css/blueprint/ie.css" type="text/css" media="screen, projection" /><![endif]-->
<link href="/ad/html/css/tigerPublish11.css" rel="stylesheet" type="text/css" media="screen, projection" />
<!--[if IE 6]><link href="css/tigerPublish11IE6.css" rel="stylesheet" type="text/css" media="screen, projection" /><![endif]-->
<script type="text/javascript">
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
};
</script>
</head>

<body>
<div class="container">
  <div class="span-24" id="Header">
      <?php 
 	include_once 'template/title.php';
 	include_once 'PublishReportTitle.php';
 	?>
    <div class="span-24" id="TopTitle">
    <h1>檢視您的報告</h1>
    </div>
    </div>
  <div class="span-24" id="MainConteiner">
  <div id="MainConteiner-in">
  <p style=" margin:0; padding:0;">&nbsp;</p>
  <div class="MadEntry">
  <div class="MadEntry-L">
    <h3>收益</h3>
    <div class="PayBox">
    <h4>今日總收益</h4>
    <p><span class="currency"><?php echo $todaySum;?></span>元</p>
    </div>
    
    <div class="PayBox">
    <ul>
    <li><span>累積總收益</span><?php echo $totalSum;?>元</li>
    <li><span>已領取金額</span><?php echo $payedSum;?>元</li>
    <li class="TopLine"><span>帳戶餘額</span><span class="currency"><?php echo ($totalSum-$payedSum);?></span>元</li>
    </ul>
    </div>
  </div>
  <div style="text-align: center;" class="MadEntry-R">
  <div id="container"></div></div>
  
<div class="clear"></div>
  </div>
 		  <div id="MainConteiner-in">
				<div id="grid"> </div>	
  	  	  </div>
<div class="clear"></div>
  </div>
  </div>
<?php include_once 'template/footer.php';?>
</div>
</body>
</html>
